package cn.huobi.user.mapper;

import cn.huobi.user.domain.User;
import cn.huobi.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huobi
 * @since 2022-10-19
 */
public interface UserMapper extends BaseMapper<User> {

    // 通过手机号查询
    User findByPhone(String phone);

    //通过邮箱账号查询
    User findBYEmail(String email);

    User findByLoginId(Long id);
}
